<HTML><HEAD><TITLE>current_trigger(?Trigger)</TITLE>
</HEAD><BODY>[ <A HREF="index.html">Advanced Control and Suspensions</A> | <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]
<H1>current_trigger(?Trigger)</H1>
Succeeds if Trigger is a currently defined symbolic trigger.
<DL>
<DT><EM>Trigger</EM></DT>
<DD>An atom or variable.
</DD>
</DL>
<H2>Description</H2>
<P>
    Succeeds if Trigger is a currently defined symbolic trigger for
    suspensions (see trigger/1). If Trigger is a variable, the current
    triggers will be enumerated one by one via backtracking.

<H3>Modes and Determinism</H3><UL>
<LI>current_trigger(-) is nondet
<LI>current_trigger(+) is semidet
</UL>
<H3>Fail Conditions</H3>
Trigger is not a current trigger.
<H2>See Also</H2>
<A HREF="../../kernel/suspensions/trigger-1.html">trigger / 1</A>
</BODY></HTML>
